package com.leyou.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.user.entity.Address;
import com.leyou.user.entity.AddressDTO;

import java.util.List;


public interface AddressService extends IService<Address> {
    void saveAddress(Address address);

    List<AddressDTO> findByUid();


    void delete(Long id);

    AddressDTO findById(Long id);

    void updateAddress(Address address);

    void defaultAddress(Long id);
}
